HPCC-12663 Reduce the default page size, default packed on in thor

Also optimize finding a free page by using __builtin_ffs

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>