lightnvm: introduce max_phys_sects helper function