Convert a 24-bit integer to 32-bit, preserving sign (legacy convertInt24ToInt32).
convertInt24ToInt32