[PATCH v4] mailbox: Prevent out-of-bounds access in fw_mbox_index_xlate()