s4/messaging: Fix undefined reference in linking libMESSAGING-samba4.so

Early check for DEVELOPER or ENABLE_SELFTEST configure options inside
messaging_handlers.c leaves us with the following undefined reference
linkage error:

[1315/3712] Linking bin/default/source4/lib/messaging/libMESSAGING-samba4.so
/usr/bin/ld: source4/lib/messaging/messaging.c.4.o: in function
						`imessaging_init_internal':
/root/samba.git/bin/default/../../source4/lib/messaging/messaging.c:472:
		undefined reference to `imessaging_register_extra_handlers'
collect2: error: ld returned 1 exit status

This happened due to failure in including "includes.h" before checking
the above mentioned configure options.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
34 jobs for anoopcs-undefined-ref in 549 minutes and 23 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #139346817
docker shared
build_ctdb

00:42:55

passed #139346821
docker shared
build_others

00:13:24

passed #141557007
private docker
build_samba

05:12:37

passed #141426911
docker private
build_samba_ad_dc

01:37:32

passed #139346807
docker shared
build_samba_ad_dc_2

00:43:31

passed #139346809
docker shared
build_samba_ad_dc_2_py2

00:29:07

passed #141427310
private docker
build_samba_ad_dc_py2

00:21:24

passed #139346824
docker shared
build_samba_buildpy2_only

00:18:09

passed #139346819
docker shared
build_samba_ctdb

00:20:19

passed #139457168
private docker
build_samba_fileserver

01:32:14

passed #139346811
docker shared
build_samba_libs

00:33:31

passed #139346813
docker shared
build_samba_libs_py2

00:33:14

passed #139346794
docker shared
build_samba_none_env

00:46:52

passed #139346796
docker shared
build_samba_none_env_py2

00:31:08

passed #139346798
docker shared
build_samba_nopython

00:27:13

passed #139346805
docker shared
build_samba_o3

00:31:52

passed #139457162
private docker
build_samba_py2

01:11:01

passed #139346815
docker shared
build_samba_static

00:43:07

passed #139346800
docker shared
build_samba_systemkrb5

00:15:50

passed #139346803
docker shared
build_samba_xc

00:06:29

failed #139346826
docker private
build_samba

01:23:01

failed #141342324
docker private
build_samba

05:15:14

failed #139457195
private docker
build_samba

01:22:51

failed #140629635
private docker
build_samba_ad_dc

01:22:52

failed #139346833
docker private
build_samba_ad_dc

01:22:57

failed #139457190
private docker
build_samba_ad_dc

01:22:53

failed #139475911
docker private
build_samba_ad_dc

01:22:50

failed #140629653
docker private
build_samba_ad_dc_py2

01:22:50

failed #139346836
docker private
build_samba_ad_dc_py2

01:23:02

failed #139600383
private docker
build_samba_ad_dc_py2

01:22:51

failed #139475844
docker private
build_samba_ad_dc_py2

01:22:54

failed #139457179
private docker
build_samba_ad_dc_py2

01:22:51

failed #139346830
docker private
build_samba_fileserver

01:22:59

failed #139346828
docker private
build_samba_py2

01:23:01