Implement isStoreToStackSlot/isLoadFromStackSlot for Patmos.