BUILD: do not specify "const" on functions returning structs or scalars

Older compilers (like gcc-3.4) warn about the use of "const" on functions
returning a struct, which makes sense since the return may only be copied :

  include/common/htx.h:233: warning: type qualifiers ignored on function return type

Let's simply drop "const" here.
diff --git a/src/http.c b/src/http.c
index bd8f96f..7c3f6bb 100644
--- a/src/http.c
+++ b/src/http.c
@@ -362,7 +362,7 @@
 /* This function returns HTTP_ERR_<num> (enum) matching http status code.
  * Returned value should match codes from http_err_codes.
  */
-const int http_get_status_idx(unsigned int status)
+int http_get_status_idx(unsigned int status)
 {
 	switch (status) {
 	case 200: return HTTP_ERR_200;