sample_store: Fix sector address calculation