Change in libosmocore[master]: coding: Refactor function to avoid gcc false positive warn