Made strcmpic and strncmpic safe against NULL arguments