Disabling some functions when BJAM_NO_MEM_CHACH defined