Add lock for HSAIL only in order to fix test failures in math brute force and integer_ops tests. Change-Id: I5f14cdcaa4ee9867fdae63fff197a0f21ee5f1d4