db_init: round up page size to nearest power of 2