[examples.linearelliptic.OS2014] fix unsafe integer conversion