[PATCH 3.18 55/90] powerpc/nohash: fix undefined behaviour when testing page size support