sample_store: Account for RESERVED_PAGES
sample_store: Ensure we don't run over end of FLASH