Use new GFX API compute_aligned_width_and_height to get the stride value for RGB surfaces. Backward compatible with GFX old API when old GFX library is used. Change-Id: I15b0954602b816bf4e88f48622494144fc77c14f