core: android: net: remove dead code

Signed-off-by: Domenico Marino <johnlemon.lol@gmail.com>
base: fix aliasing violations

Signed-off-by: Domenico Marino <johnlemon.lol@gmail.com>