Use SAL_WARN instead of printing to stderr

Change-Id: I83f2b1d7fbe940917ef2c0b7be225c722fe9df05