misc: Added custom_warn

This function print a message on stderr.

Signed-off-by: Celelibi <celelibi@gmail.com>