[libqofono] sort the modems list so internal modems are listed first.

This fixes problems when a phone is paired and has hfp. Since ofono
sorts them into alphabetical order, we need to re-sort it.
[libqofono] bump version to 0.24