Fix #1177: Fix computation of APS Id in checkAuApsContent()
In checkAuApsContent() the computation of apsId seems not correct. In particular, it does not correspond to the value computed in storeAPS().
I am not sure if this discrepancy was intentional. However, the decoder successfully decodes the stream provided in bug tracker.